const base = (window?.alignConfig?.apiPrefix || "") + "/api"
const appsource = base + "/sse/appsource"
export default class SSE extends EventSource {
  constructor() {
    super(appsource, {
      withCredentials: true,
    })
  }
}
